package com.dragon.modules.yuegou.entity.wallet;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.modules.yuegou.enums.wallet.MerchantWithdrawCheckStatus;
import com.dragon.modules.yuegou.enums.wallet.MerchantWithdrawWithdrawType;
import com.dragon.modules.yuegou.enums.wallet.MerchantWithdrawWithdrawableType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 商户提现实体类<br>
 * 对应的表为：walt_merchant_withdraw<br>
 * 
 * @author pbuilder generated
 * @date 2019-12-11 16:24:41
 * @company sgy
 * @version 2.0
 */
@TableName("walt_merchant_withdraw")
@ApiModel(description = "商户提现")
public class MerchantWithdrawEntity {

    /** 提现记录ID */
	@ApiModelProperty("提现记录ID")
	protected String id;

    /** 商户ID（冗余） */
	@ApiModelProperty("商户ID（冗余）")
	protected String merchantId;

    /** 商户钱包ID */
	@ApiModelProperty("商户钱包ID")
	protected String merchantWalletId;

    /** 商户用户ID */
	@ApiModelProperty("商户用户ID")
	protected String merchantUserId;

    /** 提现总额 */
	@ApiModelProperty("提现总额")
	protected BigDecimal amount;

    /** 提现的悦币额度 */
	@ApiModelProperty("提现的悦币额度")
	protected BigDecimal yueCoin;

    /** 提现前的悦币余额 */
	@ApiModelProperty("提现前的悦币余额")
	protected BigDecimal yueCoinBefore;

    /** 提现后的悦币余额 */
	@ApiModelProperty("提现后的悦币余额")
	protected BigDecimal yueCoinAfter;

    /** 提现前的可提现悦币余额 */
	@ApiModelProperty("提现前的可提现悦币余额")
	protected BigDecimal withdrawableYueCoinBefore;

    /** 提现后的可提现悦币余额 */
	@ApiModelProperty("提现后的可提现悦币余额")
	protected BigDecimal withdrawableYueCoinAfter;

    /** 提现的悦卡额度（会员购买） */
	@ApiModelProperty("提现的悦卡额度（会员购买）")
	protected BigDecimal yueCardBought;

    /** 提现前的可提现悦卡余额（会员购买） */
	@ApiModelProperty("提现前的可提现悦卡余额（会员购买）")
	protected BigDecimal yueCardBoughtBefore;

    /** 提现后的悦卡余额（会员购买） */
	@ApiModelProperty("提现后的悦卡余额（会员购买）")
	protected BigDecimal yueCardBoughtAfter;

    /** 提现前的可提现悦卡余额（会员购买） */
	@ApiModelProperty("提现前的可提现悦卡余额（会员购买）")
	protected BigDecimal withdrawableYueCardBoughtBefore;

    /** 提现后的可提现悦卡余额（会员购买） */
	@ApiModelProperty("提现后的可提现悦卡余额（会员购买）")
	protected BigDecimal withdrawableYueCardBoughtAfter;

    /** 提现的悦卡额度（企业发放） */
	@ApiModelProperty("提现的悦卡额度（企业发放）")
	protected BigDecimal yueCardGranted;

    /** 提现前的悦卡余额（企业发放） */
	@ApiModelProperty("提现前的悦卡余额（企业发放）")
	protected BigDecimal yueCardGrantedBefore;

    /** 提现后的悦卡余额（企业发放） */
	@ApiModelProperty("提现后的悦卡余额（企业发放）")
	protected BigDecimal yueCardGrantedAfter;

    /** 提现前的可提现悦卡余额（企业发放） */
	@ApiModelProperty("提现前的可提现悦卡余额（企业发放）")
	protected BigDecimal withdrawableYueCardGrantedBefore;

    /** 提现后的可提现悦卡余额（企业发放） */
	@ApiModelProperty("提现后的可提现悦卡余额（企业发放）")
	protected BigDecimal withdrawableYueCardGrantedAfter;

    /** 提现的微信余额 */
	@ApiModelProperty("提现的微信余额")
	protected BigDecimal wechatAmount;

    /** 提现前的微信余额 */
	@ApiModelProperty("提现前的微信余额")
	protected BigDecimal wechatAmountBefore;

    /** 提现后的微信余额 */
	@ApiModelProperty("提现后的微信余额")
	protected BigDecimal wechatAmountAfter;

    /** 提现前的可提现微信余额 */
	@ApiModelProperty("提现前的可提现微信余额")
	protected BigDecimal withdrawableWechatAmountBefore;

    /** 提现后的可提现微信余额 */
	@ApiModelProperty("提现后的可提现微信余额")
	protected BigDecimal withdrawableWechatAmountAfter;

    /** 提现的支付宝余额 */
	@ApiModelProperty("提现的支付宝余额")
	protected BigDecimal alipayAmount;

    /** 提现前的支付宝余额 */
	@ApiModelProperty("提现前的支付宝余额")
	protected BigDecimal alipayAmountBefore;

    /** 提现后的支付宝余额 */
	@ApiModelProperty("提现后的支付宝余额")
	protected BigDecimal alipayAmountAfter;

    /** 提现前的可提现支付宝余额 */
	@ApiModelProperty("提现前的可提现支付宝余额")
	protected BigDecimal withdrawableAlipayAmountBefore;

    /** 提现后的可提现支付宝余额 */
	@ApiModelProperty("提现后的可提现支付宝余额")
	protected BigDecimal withdrawableAlipayAmountAfter;

    /** [枚举]返现方式：0-提现-CASH、1-聚合支付返现-CASHBACK */
	@ApiModelProperty("[枚举]返现方式：0-提现-CASH、1-聚合支付返现-CASHBACK")
	protected MerchantWithdrawWithdrawableType withdrawableType;

    /** 提现时间 */
	@ApiModelProperty("提现时间")
	protected LocalDateTime createdTime;

    /** 收款方银行卡号 */
	@ApiModelProperty("收款方银行卡号")
	protected String encBankNo;

    /** 收款方用户名 */
	@ApiModelProperty("收款方用户名")
	protected String encTrueName;

    /** 收款方开户行 */
	@ApiModelProperty("收款方开户行")
	protected String bankCode;

    /** 实际付款金额 */
	@ApiModelProperty("实际付款金额")
	protected BigDecimal payAmount;

    /** 付款说明 */
	@ApiModelProperty("付款说明")
	protected String remarks;

    /** [枚举]提现状态：0-待审核-CHECKING、1-已通过-PASSED、2-未通过-UNPASS */
	@ApiModelProperty("[枚举]提现状态：0-待审核-CHECKING、1-已通过-PASSED、2-未通过-UNPASS")
	protected MerchantWithdrawCheckStatus checkStatus;

    /** [枚举]提现类型：1-银行卡-BANK、2-微信-WECHAT */
	@ApiModelProperty("[枚举]提现类型：1-银行卡-BANK、2-微信-WECHAT")
	protected MerchantWithdrawWithdrawType withdrawType;

    /** 微信订单号 */
	@ApiModelProperty("微信订单号")
	protected String wechatOrderNo;

    /** 审核人 */
	@ApiModelProperty("审核人")
	protected String checkedBy;

    /** 审核时间 */
	@ApiModelProperty("审核时间")
	protected LocalDateTime checkedTime;

	/**
	 * 构造一个空商户提现实体对象
	 */
	public MerchantWithdrawEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个商户提现实体对象
	 * 
	 * @param other 其它对象
	 */
	public MerchantWithdrawEntity(MerchantWithdrawEntity other){
		super();
     	this.id = other.id;
     	this.merchantId = other.merchantId;
     	this.merchantWalletId = other.merchantWalletId;
     	this.merchantUserId = other.merchantUserId;
     	this.amount = other.amount;
     	this.yueCoin = other.yueCoin;
     	this.yueCoinBefore = other.yueCoinBefore;
     	this.yueCoinAfter = other.yueCoinAfter;
     	this.withdrawableYueCoinBefore = other.withdrawableYueCoinBefore;
     	this.withdrawableYueCoinAfter = other.withdrawableYueCoinAfter;
     	this.yueCardBought = other.yueCardBought;
     	this.yueCardBoughtBefore = other.yueCardBoughtBefore;
     	this.yueCardBoughtAfter = other.yueCardBoughtAfter;
     	this.withdrawableYueCardBoughtBefore = other.withdrawableYueCardBoughtBefore;
     	this.withdrawableYueCardBoughtAfter = other.withdrawableYueCardBoughtAfter;
     	this.yueCardGranted = other.yueCardGranted;
     	this.yueCardGrantedBefore = other.yueCardGrantedBefore;
     	this.yueCardGrantedAfter = other.yueCardGrantedAfter;
     	this.withdrawableYueCardGrantedBefore = other.withdrawableYueCardGrantedBefore;
     	this.withdrawableYueCardGrantedAfter = other.withdrawableYueCardGrantedAfter;
     	this.wechatAmount = other.wechatAmount;
     	this.wechatAmountBefore = other.wechatAmountBefore;
     	this.wechatAmountAfter = other.wechatAmountAfter;
     	this.withdrawableWechatAmountBefore = other.withdrawableWechatAmountBefore;
     	this.withdrawableWechatAmountAfter = other.withdrawableWechatAmountAfter;
     	this.alipayAmount = other.alipayAmount;
     	this.alipayAmountBefore = other.alipayAmountBefore;
     	this.alipayAmountAfter = other.alipayAmountAfter;
     	this.withdrawableAlipayAmountBefore = other.withdrawableAlipayAmountBefore;
     	this.withdrawableAlipayAmountAfter = other.withdrawableAlipayAmountAfter;
     	this.withdrawableType = other.withdrawableType;
     	this.createdTime = other.createdTime;
     	this.encBankNo = other.encBankNo;
     	this.encTrueName = other.encTrueName;
     	this.bankCode = other.bankCode;
     	this.payAmount = other.payAmount;
     	this.remarks = other.remarks;
     	this.checkStatus = other.checkStatus;
     	this.withdrawType = other.withdrawType;
     	this.wechatOrderNo = other.wechatOrderNo;
     	this.checkedBy = other.checkedBy;
     	this.checkedTime = other.checkedTime;
	}


	/**
	 * 获取提现记录ID
	 * 
	 * @return id 提现记录ID
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置提现记录ID
	 * 
	 * @param id 提现记录ID
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商户ID（冗余）
	 * 
	 * @return merchantId 商户ID（冗余）
	 */
	public String getMerchantId() {
		return merchantId;
	}
  	
	/**
	 * 设置商户ID（冗余）
	 * 
	 * @param merchantId 商户ID（冗余）
	 */
	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	/**
	 * 获取商户钱包ID
	 * 
	 * @return merchantWalletId 商户钱包ID
	 */
	public String getMerchantWalletId() {
		return merchantWalletId;
	}
  	
	/**
	 * 设置商户钱包ID
	 * 
	 * @param merchantWalletId 商户钱包ID
	 */
	public void setMerchantWalletId(String merchantWalletId) {
		this.merchantWalletId = merchantWalletId;
	}

	/**
	 * 获取商户用户ID
	 * 
	 * @return merchantUserId 商户用户ID
	 */
	public String getMerchantUserId() {
		return merchantUserId;
	}
  	
	/**
	 * 设置商户用户ID
	 * 
	 * @param merchantUserId 商户用户ID
	 */
	public void setMerchantUserId(String merchantUserId) {
		this.merchantUserId = merchantUserId;
	}

	/**
	 * 获取提现总额
	 * 
	 * @return amount 提现总额
	 */
	public BigDecimal getAmount() {
		return amount;
	}
  	
	/**
	 * 设置提现总额
	 * 
	 * @param amount 提现总额
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	/**
	 * 获取提现的悦币额度
	 * 
	 * @return yueCoin 提现的悦币额度
	 */
	public BigDecimal getYueCoin() {
		return yueCoin;
	}
  	
	/**
	 * 设置提现的悦币额度
	 * 
	 * @param yueCoin 提现的悦币额度
	 */
	public void setYueCoin(BigDecimal yueCoin) {
		this.yueCoin = yueCoin;
	}

	/**
	 * 获取提现前的悦币余额
	 * 
	 * @return yueCoinBefore 提现前的悦币余额
	 */
	public BigDecimal getYueCoinBefore() {
		return yueCoinBefore;
	}
  	
	/**
	 * 设置提现前的悦币余额
	 * 
	 * @param yueCoinBefore 提现前的悦币余额
	 */
	public void setYueCoinBefore(BigDecimal yueCoinBefore) {
		this.yueCoinBefore = yueCoinBefore;
	}

	/**
	 * 获取提现后的悦币余额
	 * 
	 * @return yueCoinAfter 提现后的悦币余额
	 */
	public BigDecimal getYueCoinAfter() {
		return yueCoinAfter;
	}
  	
	/**
	 * 设置提现后的悦币余额
	 * 
	 * @param yueCoinAfter 提现后的悦币余额
	 */
	public void setYueCoinAfter(BigDecimal yueCoinAfter) {
		this.yueCoinAfter = yueCoinAfter;
	}

	/**
	 * 获取提现前的可提现悦币余额
	 * 
	 * @return withdrawableYueCoinBefore 提现前的可提现悦币余额
	 */
	public BigDecimal getWithdrawableYueCoinBefore() {
		return withdrawableYueCoinBefore;
	}
  	
	/**
	 * 设置提现前的可提现悦币余额
	 * 
	 * @param withdrawableYueCoinBefore 提现前的可提现悦币余额
	 */
	public void setWithdrawableYueCoinBefore(BigDecimal withdrawableYueCoinBefore) {
		this.withdrawableYueCoinBefore = withdrawableYueCoinBefore;
	}

	/**
	 * 获取提现后的可提现悦币余额
	 * 
	 * @return withdrawableYueCoinAfter 提现后的可提现悦币余额
	 */
	public BigDecimal getWithdrawableYueCoinAfter() {
		return withdrawableYueCoinAfter;
	}
  	
	/**
	 * 设置提现后的可提现悦币余额
	 * 
	 * @param withdrawableYueCoinAfter 提现后的可提现悦币余额
	 */
	public void setWithdrawableYueCoinAfter(BigDecimal withdrawableYueCoinAfter) {
		this.withdrawableYueCoinAfter = withdrawableYueCoinAfter;
	}

	/**
	 * 获取提现的悦卡额度（会员购买）
	 * 
	 * @return yueCardBought 提现的悦卡额度（会员购买）
	 */
	public BigDecimal getYueCardBought() {
		return yueCardBought;
	}
  	
	/**
	 * 设置提现的悦卡额度（会员购买）
	 * 
	 * @param yueCardBought 提现的悦卡额度（会员购买）
	 */
	public void setYueCardBought(BigDecimal yueCardBought) {
		this.yueCardBought = yueCardBought;
	}

	/**
	 * 获取提现前的可提现悦卡余额（会员购买）
	 * 
	 * @return yueCardBoughtBefore 提现前的可提现悦卡余额（会员购买）
	 */
	public BigDecimal getYueCardBoughtBefore() {
		return yueCardBoughtBefore;
	}
  	
	/**
	 * 设置提现前的可提现悦卡余额（会员购买）
	 * 
	 * @param yueCardBoughtBefore 提现前的可提现悦卡余额（会员购买）
	 */
	public void setYueCardBoughtBefore(BigDecimal yueCardBoughtBefore) {
		this.yueCardBoughtBefore = yueCardBoughtBefore;
	}

	/**
	 * 获取提现后的悦卡余额（会员购买）
	 * 
	 * @return yueCardBoughtAfter 提现后的悦卡余额（会员购买）
	 */
	public BigDecimal getYueCardBoughtAfter() {
		return yueCardBoughtAfter;
	}
  	
	/**
	 * 设置提现后的悦卡余额（会员购买）
	 * 
	 * @param yueCardBoughtAfter 提现后的悦卡余额（会员购买）
	 */
	public void setYueCardBoughtAfter(BigDecimal yueCardBoughtAfter) {
		this.yueCardBoughtAfter = yueCardBoughtAfter;
	}

	/**
	 * 获取提现前的可提现悦卡余额（会员购买）
	 * 
	 * @return withdrawableYueCardBoughtBefore 提现前的可提现悦卡余额（会员购买）
	 */
	public BigDecimal getWithdrawableYueCardBoughtBefore() {
		return withdrawableYueCardBoughtBefore;
	}
  	
	/**
	 * 设置提现前的可提现悦卡余额（会员购买）
	 * 
	 * @param withdrawableYueCardBoughtBefore 提现前的可提现悦卡余额（会员购买）
	 */
	public void setWithdrawableYueCardBoughtBefore(BigDecimal withdrawableYueCardBoughtBefore) {
		this.withdrawableYueCardBoughtBefore = withdrawableYueCardBoughtBefore;
	}

	/**
	 * 获取提现后的可提现悦卡余额（会员购买）
	 * 
	 * @return withdrawableYueCardBoughtAfter 提现后的可提现悦卡余额（会员购买）
	 */
	public BigDecimal getWithdrawableYueCardBoughtAfter() {
		return withdrawableYueCardBoughtAfter;
	}
  	
	/**
	 * 设置提现后的可提现悦卡余额（会员购买）
	 * 
	 * @param withdrawableYueCardBoughtAfter 提现后的可提现悦卡余额（会员购买）
	 */
	public void setWithdrawableYueCardBoughtAfter(BigDecimal withdrawableYueCardBoughtAfter) {
		this.withdrawableYueCardBoughtAfter = withdrawableYueCardBoughtAfter;
	}

	/**
	 * 获取提现的悦卡额度（企业发放）
	 * 
	 * @return yueCardGranted 提现的悦卡额度（企业发放）
	 */
	public BigDecimal getYueCardGranted() {
		return yueCardGranted;
	}
  	
	/**
	 * 设置提现的悦卡额度（企业发放）
	 * 
	 * @param yueCardGranted 提现的悦卡额度（企业发放）
	 */
	public void setYueCardGranted(BigDecimal yueCardGranted) {
		this.yueCardGranted = yueCardGranted;
	}

	/**
	 * 获取提现前的悦卡余额（企业发放）
	 * 
	 * @return yueCardGrantedBefore 提现前的悦卡余额（企业发放）
	 */
	public BigDecimal getYueCardGrantedBefore() {
		return yueCardGrantedBefore;
	}
  	
	/**
	 * 设置提现前的悦卡余额（企业发放）
	 * 
	 * @param yueCardGrantedBefore 提现前的悦卡余额（企业发放）
	 */
	public void setYueCardGrantedBefore(BigDecimal yueCardGrantedBefore) {
		this.yueCardGrantedBefore = yueCardGrantedBefore;
	}

	/**
	 * 获取提现后的悦卡余额（企业发放）
	 * 
	 * @return yueCardGrantedAfter 提现后的悦卡余额（企业发放）
	 */
	public BigDecimal getYueCardGrantedAfter() {
		return yueCardGrantedAfter;
	}
  	
	/**
	 * 设置提现后的悦卡余额（企业发放）
	 * 
	 * @param yueCardGrantedAfter 提现后的悦卡余额（企业发放）
	 */
	public void setYueCardGrantedAfter(BigDecimal yueCardGrantedAfter) {
		this.yueCardGrantedAfter = yueCardGrantedAfter;
	}

	/**
	 * 获取提现前的可提现悦卡余额（企业发放）
	 * 
	 * @return withdrawableYueCardGrantedBefore 提现前的可提现悦卡余额（企业发放）
	 */
	public BigDecimal getWithdrawableYueCardGrantedBefore() {
		return withdrawableYueCardGrantedBefore;
	}
  	
	/**
	 * 设置提现前的可提现悦卡余额（企业发放）
	 * 
	 * @param withdrawableYueCardGrantedBefore 提现前的可提现悦卡余额（企业发放）
	 */
	public void setWithdrawableYueCardGrantedBefore(BigDecimal withdrawableYueCardGrantedBefore) {
		this.withdrawableYueCardGrantedBefore = withdrawableYueCardGrantedBefore;
	}

	/**
	 * 获取提现后的可提现悦卡余额（企业发放）
	 * 
	 * @return withdrawableYueCardGrantedAfter 提现后的可提现悦卡余额（企业发放）
	 */
	public BigDecimal getWithdrawableYueCardGrantedAfter() {
		return withdrawableYueCardGrantedAfter;
	}
  	
	/**
	 * 设置提现后的可提现悦卡余额（企业发放）
	 * 
	 * @param withdrawableYueCardGrantedAfter 提现后的可提现悦卡余额（企业发放）
	 */
	public void setWithdrawableYueCardGrantedAfter(BigDecimal withdrawableYueCardGrantedAfter) {
		this.withdrawableYueCardGrantedAfter = withdrawableYueCardGrantedAfter;
	}

	/**
	 * 获取提现的微信余额
	 * 
	 * @return wechatAmount 提现的微信余额
	 */
	public BigDecimal getWechatAmount() {
		return wechatAmount;
	}
  	
	/**
	 * 设置提现的微信余额
	 * 
	 * @param wechatAmount 提现的微信余额
	 */
	public void setWechatAmount(BigDecimal wechatAmount) {
		this.wechatAmount = wechatAmount;
	}

	/**
	 * 获取提现前的微信余额
	 * 
	 * @return wechatAmountBefore 提现前的微信余额
	 */
	public BigDecimal getWechatAmountBefore() {
		return wechatAmountBefore;
	}
  	
	/**
	 * 设置提现前的微信余额
	 * 
	 * @param wechatAmountBefore 提现前的微信余额
	 */
	public void setWechatAmountBefore(BigDecimal wechatAmountBefore) {
		this.wechatAmountBefore = wechatAmountBefore;
	}

	/**
	 * 获取提现后的微信余额
	 * 
	 * @return wechatAmountAfter 提现后的微信余额
	 */
	public BigDecimal getWechatAmountAfter() {
		return wechatAmountAfter;
	}
  	
	/**
	 * 设置提现后的微信余额
	 * 
	 * @param wechatAmountAfter 提现后的微信余额
	 */
	public void setWechatAmountAfter(BigDecimal wechatAmountAfter) {
		this.wechatAmountAfter = wechatAmountAfter;
	}

	/**
	 * 获取提现前的可提现微信余额
	 * 
	 * @return withdrawableWechatAmountBefore 提现前的可提现微信余额
	 */
	public BigDecimal getWithdrawableWechatAmountBefore() {
		return withdrawableWechatAmountBefore;
	}
  	
	/**
	 * 设置提现前的可提现微信余额
	 * 
	 * @param withdrawableWechatAmountBefore 提现前的可提现微信余额
	 */
	public void setWithdrawableWechatAmountBefore(BigDecimal withdrawableWechatAmountBefore) {
		this.withdrawableWechatAmountBefore = withdrawableWechatAmountBefore;
	}

	/**
	 * 获取提现后的可提现微信余额
	 * 
	 * @return withdrawableWechatAmountAfter 提现后的可提现微信余额
	 */
	public BigDecimal getWithdrawableWechatAmountAfter() {
		return withdrawableWechatAmountAfter;
	}
  	
	/**
	 * 设置提现后的可提现微信余额
	 * 
	 * @param withdrawableWechatAmountAfter 提现后的可提现微信余额
	 */
	public void setWithdrawableWechatAmountAfter(BigDecimal withdrawableWechatAmountAfter) {
		this.withdrawableWechatAmountAfter = withdrawableWechatAmountAfter;
	}

	/**
	 * 获取提现的支付宝余额
	 * 
	 * @return alipayAmount 提现的支付宝余额
	 */
	public BigDecimal getAlipayAmount() {
		return alipayAmount;
	}
  	
	/**
	 * 设置提现的支付宝余额
	 * 
	 * @param alipayAmount 提现的支付宝余额
	 */
	public void setAlipayAmount(BigDecimal alipayAmount) {
		this.alipayAmount = alipayAmount;
	}

	/**
	 * 获取提现前的支付宝余额
	 * 
	 * @return alipayAmountBefore 提现前的支付宝余额
	 */
	public BigDecimal getAlipayAmountBefore() {
		return alipayAmountBefore;
	}
  	
	/**
	 * 设置提现前的支付宝余额
	 * 
	 * @param alipayAmountBefore 提现前的支付宝余额
	 */
	public void setAlipayAmountBefore(BigDecimal alipayAmountBefore) {
		this.alipayAmountBefore = alipayAmountBefore;
	}

	/**
	 * 获取提现后的支付宝余额
	 * 
	 * @return alipayAmountAfter 提现后的支付宝余额
	 */
	public BigDecimal getAlipayAmountAfter() {
		return alipayAmountAfter;
	}
  	
	/**
	 * 设置提现后的支付宝余额
	 * 
	 * @param alipayAmountAfter 提现后的支付宝余额
	 */
	public void setAlipayAmountAfter(BigDecimal alipayAmountAfter) {
		this.alipayAmountAfter = alipayAmountAfter;
	}

	/**
	 * 获取提现前的可提现支付宝余额
	 * 
	 * @return withdrawableAlipayAmountBefore 提现前的可提现支付宝余额
	 */
	public BigDecimal getWithdrawableAlipayAmountBefore() {
		return withdrawableAlipayAmountBefore;
	}
  	
	/**
	 * 设置提现前的可提现支付宝余额
	 * 
	 * @param withdrawableAlipayAmountBefore 提现前的可提现支付宝余额
	 */
	public void setWithdrawableAlipayAmountBefore(BigDecimal withdrawableAlipayAmountBefore) {
		this.withdrawableAlipayAmountBefore = withdrawableAlipayAmountBefore;
	}

	/**
	 * 获取提现后的可提现支付宝余额
	 * 
	 * @return withdrawableAlipayAmountAfter 提现后的可提现支付宝余额
	 */
	public BigDecimal getWithdrawableAlipayAmountAfter() {
		return withdrawableAlipayAmountAfter;
	}
  	
	/**
	 * 设置提现后的可提现支付宝余额
	 * 
	 * @param withdrawableAlipayAmountAfter 提现后的可提现支付宝余额
	 */
	public void setWithdrawableAlipayAmountAfter(BigDecimal withdrawableAlipayAmountAfter) {
		this.withdrawableAlipayAmountAfter = withdrawableAlipayAmountAfter;
	}

	/**
	 * 获取[枚举]返现方式：0-提现-CASH、1-聚合支付返现-CASHBACK
	 * 
	 * @return withdrawableType [枚举]返现方式：0-提现-CASH、1-聚合支付返现-CASHBACK
	 */
	public MerchantWithdrawWithdrawableType getWithdrawableType() {
		return withdrawableType;
	}
  	
	/**
	 * 设置[枚举]返现方式：0-提现-CASH、1-聚合支付返现-CASHBACK
	 * 
	 * @param withdrawableType [枚举]返现方式：0-提现-CASH、1-聚合支付返现-CASHBACK
	 */
	public void setWithdrawableType(MerchantWithdrawWithdrawableType withdrawableType) {
		this.withdrawableType = withdrawableType;
	}

	/**
	 * 获取提现时间
	 * 
	 * @return createdTime 提现时间
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置提现时间
	 * 
	 * @param createdTime 提现时间
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取收款方银行卡号
	 * 
	 * @return encBankNo 收款方银行卡号
	 */
	public String getEncBankNo() {
		return encBankNo;
	}
  	
	/**
	 * 设置收款方银行卡号
	 * 
	 * @param encBankNo 收款方银行卡号
	 */
	public void setEncBankNo(String encBankNo) {
		this.encBankNo = encBankNo;
	}

	/**
	 * 获取收款方用户名
	 * 
	 * @return encTrueName 收款方用户名
	 */
	public String getEncTrueName() {
		return encTrueName;
	}
  	
	/**
	 * 设置收款方用户名
	 * 
	 * @param encTrueName 收款方用户名
	 */
	public void setEncTrueName(String encTrueName) {
		this.encTrueName = encTrueName;
	}

	/**
	 * 获取收款方开户行
	 * 
	 * @return bankCode 收款方开户行
	 */
	public String getBankCode() {
		return bankCode;
	}
  	
	/**
	 * 设置收款方开户行
	 * 
	 * @param bankCode 收款方开户行
	 */
	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}

	/**
	 * 获取实际付款金额
	 * 
	 * @return payAmount 实际付款金额
	 */
	public BigDecimal getPayAmount() {
		return payAmount;
	}
  	
	/**
	 * 设置实际付款金额
	 * 
	 * @param payAmount 实际付款金额
	 */
	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}

	/**
	 * 获取付款说明
	 * 
	 * @return remarks 付款说明
	 */
	public String getRemarks() {
		return remarks;
	}
  	
	/**
	 * 设置付款说明
	 * 
	 * @param remarks 付款说明
	 */
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	/**
	 * 获取[枚举]提现状态：0-待审核-CHECKING、1-已通过-PASSED、2-未通过-UNPASS
	 * 
	 * @return checkStatus [枚举]提现状态：0-待审核-CHECKING、1-已通过-PASSED、2-未通过-UNPASS
	 */
	public MerchantWithdrawCheckStatus getCheckStatus() {
		return checkStatus;
	}
  	
	/**
	 * 设置[枚举]提现状态：0-待审核-CHECKING、1-已通过-PASSED、2-未通过-UNPASS
	 * 
	 * @param checkStatus [枚举]提现状态：0-待审核-CHECKING、1-已通过-PASSED、2-未通过-UNPASS
	 */
	public void setCheckStatus(MerchantWithdrawCheckStatus checkStatus) {
		this.checkStatus = checkStatus;
	}

	/**
	 * 获取[枚举]提现类型：1-银行卡-BANK、2-微信-WECHAT
	 * 
	 * @return withdrawType [枚举]提现类型：1-银行卡-BANK、2-微信-WECHAT
	 */
	public MerchantWithdrawWithdrawType getWithdrawType() {
		return withdrawType;
	}
  	
	/**
	 * 设置[枚举]提现类型：1-银行卡-BANK、2-微信-WECHAT
	 * 
	 * @param withdrawType [枚举]提现类型：1-银行卡-BANK、2-微信-WECHAT
	 */
	public void setWithdrawType(MerchantWithdrawWithdrawType withdrawType) {
		this.withdrawType = withdrawType;
	}

	/**
	 * 获取微信订单号
	 * 
	 * @return wechatOrderNo 微信订单号
	 */
	public String getWechatOrderNo() {
		return wechatOrderNo;
	}
  	
	/**
	 * 设置微信订单号
	 * 
	 * @param wechatOrderNo 微信订单号
	 */
	public void setWechatOrderNo(String wechatOrderNo) {
		this.wechatOrderNo = wechatOrderNo;
	}

	/**
	 * 获取审核人
	 * 
	 * @return checkedBy 审核人
	 */
	public String getCheckedBy() {
		return checkedBy;
	}
  	
	/**
	 * 设置审核人
	 * 
	 * @param checkedBy 审核人
	 */
	public void setCheckedBy(String checkedBy) {
		this.checkedBy = checkedBy;
	}

	/**
	 * 获取审核时间
	 * 
	 * @return checkedTime 审核时间
	 */
	public LocalDateTime getCheckedTime() {
		return checkedTime;
	}
  	
	/**
	 * 设置审核时间
	 * 
	 * @param checkedTime 审核时间
	 */
	public void setCheckedTime(LocalDateTime checkedTime) {
		this.checkedTime = checkedTime;
	}

    public String toString() {
		return new StringBuilder().append("MerchantWithdrawEntity{").
			append("id=").append(id).
			append(",merchantId=").append(merchantId).
			append(",merchantWalletId=").append(merchantWalletId).
			append(",merchantUserId=").append(merchantUserId).
			append(",amount=").append(amount).
			append(",yueCoin=").append(yueCoin).
			append(",yueCoinBefore=").append(yueCoinBefore).
			append(",yueCoinAfter=").append(yueCoinAfter).
			append(",withdrawableYueCoinBefore=").append(withdrawableYueCoinBefore).
			append(",withdrawableYueCoinAfter=").append(withdrawableYueCoinAfter).
			append(",yueCardBought=").append(yueCardBought).
			append(",yueCardBoughtBefore=").append(yueCardBoughtBefore).
			append(",yueCardBoughtAfter=").append(yueCardBoughtAfter).
			append(",withdrawableYueCardBoughtBefore=").append(withdrawableYueCardBoughtBefore).
			append(",withdrawableYueCardBoughtAfter=").append(withdrawableYueCardBoughtAfter).
			append(",yueCardGranted=").append(yueCardGranted).
			append(",yueCardGrantedBefore=").append(yueCardGrantedBefore).
			append(",yueCardGrantedAfter=").append(yueCardGrantedAfter).
			append(",withdrawableYueCardGrantedBefore=").append(withdrawableYueCardGrantedBefore).
			append(",withdrawableYueCardGrantedAfter=").append(withdrawableYueCardGrantedAfter).
			append(",wechatAmount=").append(wechatAmount).
			append(",wechatAmountBefore=").append(wechatAmountBefore).
			append(",wechatAmountAfter=").append(wechatAmountAfter).
			append(",withdrawableWechatAmountBefore=").append(withdrawableWechatAmountBefore).
			append(",withdrawableWechatAmountAfter=").append(withdrawableWechatAmountAfter).
			append(",alipayAmount=").append(alipayAmount).
			append(",alipayAmountBefore=").append(alipayAmountBefore).
			append(",alipayAmountAfter=").append(alipayAmountAfter).
			append(",withdrawableAlipayAmountBefore=").append(withdrawableAlipayAmountBefore).
			append(",withdrawableAlipayAmountAfter=").append(withdrawableAlipayAmountAfter).
			append(",withdrawableType=").append(withdrawableType).
			append(",createdTime=").append(createdTime).
			append(",encBankNo=").append(encBankNo).
			append(",encTrueName=").append(encTrueName).
			append(",bankCode=").append(bankCode).
			append(",payAmount=").append(payAmount).
			append(",remarks=").append(remarks).
			append(",checkStatus=").append(checkStatus).
			append(",withdrawType=").append(withdrawType).
			append(",wechatOrderNo=").append(wechatOrderNo).
			append(",checkedBy=").append(checkedBy).
			append(",checkedTime=").append(checkedTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public MerchantWithdrawEntity copy() {
		return new MerchantWithdrawEntity(this);
	}

    /** 提现记录ID */
	public static final String COL_ID = "id";

    /** 商户ID（冗余） */
	public static final String COL_MERCHANT_ID = "merchant_id";

    /** 商户钱包ID */
	public static final String COL_MERCHANT_WALLET_ID = "merchant_wallet_id";

    /** 商户用户ID */
	public static final String COL_MERCHANT_USER_ID = "merchant_user_id";

    /** 提现总额 */
	public static final String COL_AMOUNT = "amount";

    /** 提现的悦币额度 */
	public static final String COL_YUE_COIN = "yue_coin";

    /** 提现前的悦币余额 */
	public static final String COL_YUE_COIN_BEFORE = "yue_coin_before";

    /** 提现后的悦币余额 */
	public static final String COL_YUE_COIN_AFTER = "yue_coin_after";

    /** 提现前的可提现悦币余额 */
	public static final String COL_WITHDRAWABLE_YUE_COIN_BEFORE = "withdrawable_yue_coin_before";

    /** 提现后的可提现悦币余额 */
	public static final String COL_WITHDRAWABLE_YUE_COIN_AFTER = "withdrawable_yue_coin_after";

    /** 提现的悦卡额度（会员购买） */
	public static final String COL_YUE_CARD_BOUGHT = "yue_card_bought";

    /** 提现前的可提现悦卡余额（会员购买） */
	public static final String COL_YUE_CARD_BOUGHT_BEFORE = "yue_card_bought_before";

    /** 提现后的悦卡余额（会员购买） */
	public static final String COL_YUE_CARD_BOUGHT_AFTER = "yue_card_bought_after";

    /** 提现前的可提现悦卡余额（会员购买） */
	public static final String COL_WITHDRAWABLE_YUE_CARD_BOUGHT_BEFORE = "withdrawable_yue_card_bought_before";

    /** 提现后的可提现悦卡余额（会员购买） */
	public static final String COL_WITHDRAWABLE_YUE_CARD_BOUGHT_AFTER = "withdrawable_yue_card_bought_after";

    /** 提现的悦卡额度（企业发放） */
	public static final String COL_YUE_CARD_GRANTED = "yue_card_granted";

    /** 提现前的悦卡余额（企业发放） */
	public static final String COL_YUE_CARD_GRANTED_BEFORE = "yue_card_granted_before";

    /** 提现后的悦卡余额（企业发放） */
	public static final String COL_YUE_CARD_GRANTED_AFTER = "yue_card_granted_after";

    /** 提现前的可提现悦卡余额（企业发放） */
	public static final String COL_WITHDRAWABLE_YUE_CARD_GRANTED_BEFORE = "withdrawable_yue_card_granted_before";

    /** 提现后的可提现悦卡余额（企业发放） */
	public static final String COL_WITHDRAWABLE_YUE_CARD_GRANTED_AFTER = "withdrawable_yue_card_granted_after";

    /** 提现的微信余额 */
	public static final String COL_WECHAT_AMOUNT = "wechat_amount";

    /** 提现前的微信余额 */
	public static final String COL_WECHAT_AMOUNT_BEFORE = "wechat_amount_before";

    /** 提现后的微信余额 */
	public static final String COL_WECHAT_AMOUNT_AFTER = "wechat_amount_after";

    /** 提现前的可提现微信余额 */
	public static final String COL_WITHDRAWABLE_WECHAT_AMOUNT_BEFORE = "withdrawable_wechat_amount_before";

    /** 提现后的可提现微信余额 */
	public static final String COL_WITHDRAWABLE_WECHAT_AMOUNT_AFTER = "withdrawable_wechat_amount_after";

    /** 提现的支付宝余额 */
	public static final String COL_ALIPAY_AMOUNT = "alipay_amount";

    /** 提现前的支付宝余额 */
	public static final String COL_ALIPAY_AMOUNT_BEFORE = "alipay_amount_before";

    /** 提现后的支付宝余额 */
	public static final String COL_ALIPAY_AMOUNT_AFTER = "alipay_amount_after";

    /** 提现前的可提现支付宝余额 */
	public static final String COL_WITHDRAWABLE_ALIPAY_AMOUNT_BEFORE = "withdrawable_alipay_amount_before";

    /** 提现后的可提现支付宝余额 */
	public static final String COL_WITHDRAWABLE_ALIPAY_AMOUNT_AFTER = "withdrawable_alipay_amount_after";

    /** [枚举]返现方式：0-提现-CASH、1-聚合支付返现-CASHBACK */
	public static final String COL_WITHDRAWABLE_TYPE = "withdrawable_type";

    /** 提现时间 */
	public static final String COL_CREATED_TIME = "created_time";

    /** 收款方银行卡号 */
	public static final String COL_ENC_BANK_NO = "enc_bank_no";

    /** 收款方用户名 */
	public static final String COL_ENC_TRUE_NAME = "enc_true_name";

    /** 收款方开户行 */
	public static final String COL_BANK_CODE = "bank_code";

    /** 实际付款金额 */
	public static final String COL_PAY_AMOUNT = "pay_amount";

    /** 付款说明 */
	public static final String COL_REMARKS = "remarks";

    /** [枚举]提现状态：0-待审核-CHECKING、1-已通过-PASSED、2-未通过-UNPASS */
	public static final String COL_CHECK_STATUS = "check_status";

    /** [枚举]提现类型：1-银行卡-BANK、2-微信-WECHAT */
	public static final String COL_WITHDRAW_TYPE = "withdraw_type";

    /** 微信订单号 */
	public static final String COL_WECHAT_ORDER_NO = "wechat_order_no";

    /** 审核人 */
	public static final String COL_CHECKED_BY = "checked_by";

    /** 审核时间 */
	public static final String COL_CHECKED_TIME = "checked_time";
}
